package com.joysuch.wwyt.bp.bean;

import com.joysuch.wwyt.bp.entity.BpStoreHouse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value = "仓库列表")
public class BpStoreHouseListBean  implements Serializable {

    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("仓库名称")
    private String name;
    @ApiModelProperty("编码")
    private String code;
    @ApiModelProperty("上一级仓库id")
    private Long parentId;
    @ApiModelProperty("下一级仓库列表")
    private List<BpStoreHouseListBean> childrenList;
}
